package cn.bgs.mapper;

import cn.bgs.pojo.CellIntermediate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 小区中间表 Mapper 接口
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Mapper
public interface CellIntermediateMapper extends BaseMapper<CellIntermediate> {

    /**
     * 查询小区中间表id
     * @param communityId
     * @param buildingId
     * @param cellId
     * @param floorId
     * @param portalId
     * @return
     */
    CellIntermediate seetreeunder(@Param("communityId") Integer communityId, @Param("buildingId") Integer buildingId, @Param("cellId") Integer cellId, @Param("floorId") Integer floorId,@Param("portalId") Integer portalId);
}
